package com.bindapp.util;


import android.content.Context;
import android.widget.ImageView;

import com.bindapp.R;
import com.bumptech.glide.Glide;
import com.youth.banner.loader.ImageLoader;

/**
 * Created by apple on 2018/7/1.
 */

public class GlideImageLoader extends ImageLoader {
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        Glide.with(context).load(R.drawable.boy).into(imageView);
        /*Glide.with(context).load(path.toString())
                .asBitmap()
                .transform(new GlideRoundTransform(context,10))
                .into(imageView);*/

    }

    /*   @Override
    public ImageView createImageView(Context context) {
        //圆角
        return new RoundAngleImageView(context);
    }*/
}
